﻿
using Models.generationcenter.Base;

using SqlSugar;

using System;
namespace Models.generationcenter
{
    /// <summary>
    /// 批次表
    /// </summary>
    [SugarTable("tb_batches")]
    public partial class Batches : BaseModel
    {

        /// <summary>
        /// 案件ID
        /// </summary>
        public string caseid { get; set; }
        /// <summary>
        /// 申请部门（华宇给的）
        /// </summary>
        public string batches_apply_department { get; set; }
        /// <summary>
        /// 申请人（华宇给的）
        /// </summary>
        public string batches_apply_user { get; set; }
        /// <summary>
        /// 申请日期（华宇给的）
        /// </summary>
        public DateTime? batches_apply_time { get; set; }
        /// <summary>
        /// 提交人（华宇给的）
        /// </summary>
        public string batches_submitter { get; set; }
        /// <summary>
        /// 提交人类型（华宇给的）
        /// </summary>
        public string batches_submit_type { get; set; }
        /// <summary>
        /// 提交时间（华宇给的）
        /// </summary>
        public DateTime? batches_submit_time { get; set; }
        /// <summary>
        /// 接收人    当前人   通当前用户人查到所属地点（本院、外部等等）
        /// </summary>
        public string batches_receiver { get; set; }
        /// <summary>
        /// 接收日期
        /// </summary>
        public DateTime? batches_receive_time { get; set; }
        /// <summary>
        /// 扫描人
        /// </summary>
        public string batches_scanner { get; set; }
        /// <summary>
        /// 扫描时间
        /// </summary>
        public DateTime? batches_scan_time { get; set; }
        /// <summary>
        /// 扫描页数
        /// </summary>
        public int batches_scan_pages_count { get; set; }
        /// <summary>
        /// 校验人
        /// </summary>
        public string batches_checker { get; set; }
        /// <summary>
        /// 校验完成时间
        /// </summary>
        public DateTime? batches_check_time { get; set; }
        /// <summary>
        /// 识别完成时间
        /// </summary>
        public DateTime? batches_Identify_completion_time { get; set; }
        /// <summary>
        /// 是否加急  默认否 可选加急
        /// </summary>
        public bool batches_is_urgent { get; set; }
        /// <summary>
        /// 材料清单编号（华宇给的）
        /// </summary>
        public string batches_material_list_code { get; set; }
        /// <summary>
        /// 批次号（华宇给的）
        /// </summary>
        public string batches_batch_number { get; set; }
        /// <summary>
        /// 原份数（华宇给的）从材料清单中拿到
        /// </summary>
        public int? batches_original_copies_count { get; set; }
        /// <summary>
        /// 原页数（华宇给的）
        /// </summary>
        public int? batches_original_pages_count { get; set; }
        /// <summary>
        /// 实际份数
        /// </summary>
        public int? batches_actual_copies_count { get; set; }
        /// <summary>
        /// 实际页数
        /// </summary>
        public int? batches_actual_pages_count { get; set; }
        /// <summary>
        /// 批次来源（华宇给的）
        /// </summary>
        public string batches_source { get; set; }
        /// <summary> 
        /// 批次类型 字典表
        /// </summary>
        public int? batches_type_dic { get; set; }
        /// <summary>
        /// 批次状态  字典表
        /// </summary>
        public int? batches_state_dic { get; set; }
        /// <summary>
        /// 是否在柜
        /// </summary>
        public bool batches_is_exist_cupboard { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string batches_remarks { get; set; }
        /// <summary>
        /// 批次存储在存储柜的哪个位置
        /// </summary>
        public string batches_cupboard_position { get; set; }

        /// <summary>
        /// 回退状态  空是跟0 都是未回退   1是已回退
        /// </summary>
        public int batches_is_backed_back { get; set; }

    }
}
